package org.example.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration //代表他是一个配置类将,替换applicationContext.xml
@ComponentScan({"org.org.example.dao","org.example.service"}) //在配置类上添加包扫描注解
@PropertySource({"jdbc.properties"})
public class SpringConfig {

}
